const Props = {
    employeeOptions:{
        type:Array,
        required:true,
        default(){
            return []
        }
    },
    fetchEmployeeOptionsFn:{
        type:Function
    },
    typeOptions:{
        type:Array,
        default(){
            return [
                {
                    label:'奖励',
                    value:1
                },
                {
                    label:'惩罚',
                    value:2
                }
            ]
        }
    },
    modeOptions:{
        type:Array,
        default(){
            return [
                {
                    label:'私密发布',
                    value:0
                },
                {
                    label:'公开发布',
                    value:1
                }
            ]
        }
    },
    publicTypeOptions:{
        type:Array,
        default(){
            return [
                {
                    label:'公开发布',
                    value:'all'
                },
                {
                    label:'部门公开',
                    value:'department'
                },
                {
                    label:'领导公开',
                    value:'leader'
                }
            ]
        }
    },
    executionOptions:{
        type:Array,
        default(){
            return [
                {
                    label:'是',
                    value:1
                },
                {
                    label:'否',
                    value:0
                }
            ]
        }
    },
    disabled:{
        type:Boolean,
        required:false,
        default(){
            return false
        }
    },
    loading:{
        type:Boolean,
        required:false,
        default(){
            return false
        }
    },
    value:{
        type:Object,
        required:true,
        default(){
            return {
                employeeID:null,
                reason:'',
                amount:0,
                type:null,
                isMonth:null
            }
        }
    }
}

export default Props
